//========encoding:utf-8=========
/*
 * @describe:  三目运算符
 * @author:mhao
 * @copyright:chinasoft.cn
 * @date:2020年3月16日   下午10:55:14
 */
package edu.chinasoft.service;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import edu.chinasoft.domain.Dept;
import edu.chinasoft.mapper.DeptMapper;


public class DeptServiceImp implements DeptService{
	private Logger logger = LoggerFactory.getLogger(DeptServiceImp.class);
	private DeptMapper deptmapper;
    @Override
    public
    Dept selectTableById(Dept dept) {
        logger.debug("UserServiceImp>>>loginUser start ……");
        Dept result=deptmapper.selectTableById(dept);
        logger.debug("UserServiceImp>>>loginUser end ……");
        return result;
    }
	@Override
	public Dept insertDept(Dept dept) {
		Dept result=deptmapper.insertDept(dept);
		return result;
	}
	@Override
	public Dept updateDept(Dept dept) {
		Dept result=deptmapper.insertDept(dept);
		return result;
	}
	
	public DeptMapper getDeptmapper() {
		return deptmapper;
	}
	public void setDeptmapper(DeptMapper deptmapper) {
		this.deptmapper = deptmapper;
	}
	

}
